testsuite: Destroy surfaces
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 May 2020 13:09:26 +0000 (09:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 16 May 2020 13:12:18 +0000 (09:12 -0400)
commitd771aa6feecf8b13735ba50916903aa4b6b436c0
tree2971205e459b81e3a16de504cd5cfe7a0ac6c996
parent4acb56d8c50bcd519f10948c83477a385eeb61cd
testsuite: Destroy surfaces

If we don't destroy the surface, it leaks.

GDK backends keep an extra reference on the
surface for the external resources associated
with it, and only drop it in destroy().
testsuite/gtk/shortcuts.c